<!DOCTYPE html>
<script src="../../resources/js-test.js"></script>
<body>
<script>
description('Test accessing navigator.serviceWorker of iframe doesn\'t crash');

navigator.serviceWorker;

var iframe = document.createElement('iframe');
document.body.appendChild(iframe);
iframe.contentWindow.navigator.serviceWorker;

var successfullyParsed = true;
</script>
